/**
 * ScrolledBranches. 
 * by Alvaro Lopez and Juan Baquero
 * 
 *Put your VYM files inside the Sketch folder.
 *Press the arrow keys or click the nodes for surfing the map.
 *
 *Use the same Scroll function for hidde or show nodes for your files 
 *builded with this feature from VYM.
 * 
 *You can LOCK/UNLOCK your scroll nodes pressing the 'D' button into the sketch.
 */

import remixlab.remixvym.*;

void setup() {

  size(600,500,P2D);

  graph = new SceneMindMap(this);    
  //Load the XML file created from VYM.        
  graph.setMap("Example-Scrolled-branches.xml");

}

void draw() {
  graph.paint();
}

SceneMindMap graph;
MindMap map;
